package com.shoothzj.example.storage.api.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface TableField {

    /**
     * field name
     * @return
     */
    String name();

    /**
     * string field max length
     * @return
     */
    int strMaxLen() default 255;

}
